package com.zfast.forge.pojo.dto;

import com.zfast.config.valid.Create;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * 角色专属技能
 *
 * @author zgn
 * @email 
 * @date 2024-02-06 14:27:49
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "bad_part_magic")
@ApiModel(value = "PartMagic", description = "角色专属技能")
public class PartMagic implements Serializable{
    private static final long serialVersionUID=1L;

    @Column(name = "part_id")
    @ApiModelProperty("角色主键")
    private String partId;

    @Column(name = "magic_id")
    @ApiModelProperty("技能主键")
    private String magicId;

    @Column(name = "del_flag")
    @ApiModelProperty("删除标志0-正常,1-已删除")
    private Boolean delFlag;

    @Transient
    @ApiModelProperty("模糊查询字段")
    private String whe;
}
